package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 健康咨询对象 bai_ask
 * 
 * @author saruri
 * @date 2024-08-06
 */
public class BaiAsk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 咨询 */
    @Excel(name = "咨询")
    private String title;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer statusCheck;

    /** 回答状态 */
    @Excel(name = "回答状态")
    private Integer statusAsk;

    /** 标签 */
    @Excel(name = "标签")
    private String tags;

    /** 提问用户id */
    @Excel(name = "提问用户id")
    private Long userId;

    /** 图片 */
    @Excel(name = "图片")
    private String imgs;

    // 新增 myAsk 属性
    private Integer myAsk;

    // Getter 和 Setter 方法
    public Integer getMyAsk() {
        return myAsk;
    }

    public void setMyAsk(Integer myAsk) {
        this.myAsk = myAsk;
    }
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    private String userName;
    private String nickName;
    private String avatar;
    private String keyword;

    // 生成 getter 和 setter 方法
    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setStatusCheck(Integer statusCheck) 
    {
        this.statusCheck = statusCheck;
    }

    public Integer getStatusCheck() 
    {
        return statusCheck;
    }
    public void setStatusAsk(Integer statusAsk) 
    {
        this.statusAsk = statusAsk;
    }

    public Integer getStatusAsk() 
    {
        return statusAsk;
    }
    public void setTags(String tags) 
    {
        this.tags = tags;
    }

    public String getTags() 
    {
        return tags;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setImgs(String imgs) 
    {
        this.imgs = imgs;
    }

    public String getImgs() 
    {
        return imgs;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("title", getTitle())
            .append("statusCheck", getStatusCheck())
            .append("statusAsk", getStatusAsk())
            .append("tags", getTags())
            .append("userId", getUserId())
            .append("imgs", getImgs())
            .toString();
    }
}
